//
// main.cpp for 203poisson in /home/morel_t//Rendu/maths/203poisson
//
// Made by thomas morel
// Login   <morel_t@epitech.net>
//
// Started on  Tue Mar 13 09:34:41 2012 thomas morel
// Last update Tue Mar 20 19:09:23 2012 thomas morel
//

#include <cstdlib>
#include <iostream>
#include "203poisson.hh"
#include "convertTo.hpp"

int	main(int ac, char **av)
{
  if (ac <= 1)
    {
      std::cerr << "./203poisson <option> [...]" << std::endl;
      return (EXIT_FAILURE);
    }
  if (!check_params(toNumber<int>(av[1]), ac))
    return (EXIT_FAILURE);
  parser(av);
  return (EXIT_SUCCESS);
}
